<!DOCTYPE html>
<html style="font-size: 23.4375px;">
<head>
    <include file="./public/header.html"/>
<body style="font-size: 21.7589px;">
<div id="app">
    <div id="shadow" style="display: none;"></div>
    <header class="top"><span style="display: none;">加载中...</span> <span></span>
        <ul>
            <li><a href="{:U('Users/personalInfo')}">个人资料</a></li>
            <li class="on"><a href="{:U('Users/personalLeval')}">等级头衔</a></li>
        </ul>
        <div class="iconfont back" style="display: none;"></div>
        <a href="{:U('Users/personalInfo')}" class="iconfont back"></a>
		</header>
    <div data-v-58c62fe6="" class="main levelTitle" s="[object Object]">
        <div data-v-58c62fe6="" class="levelTitleHeader">
            <div data-v-58c62fe6="" class="levelTitleInfo fix">
                <img data-v-58c62fe6="" src="{$arr.avatar}" alt="">
                <div data-v-58c62fe6="" class="rightInfo">
                    <h1 data-v-58c62fe6="">
                        <ins data-v-58c62fe6="">{$arr.accounts}</ins>
                        <i data-v-58c62fe6="" class="vip"></i><span data-v-58c62fe6="">
                        <?php if($arr['score'] < '10'){echo 'VIP1';}
                                  elseif('10' <= $arr['score'] && $arr['score'] < '200'){echo 'VIP2';}
                                  elseif('200' <= $arr['score'] && $arr['score'] < '1000'){echo 'VIP3';}
                                  elseif('1000' <= $arr['score'] && $arr['score'] < '10000'){echo 'VIP4';}
                                  elseif('10000' <= $arr['score'] && $arr['score'] < '50000'){echo 'VIP5';}
                                  elseif('50000' <= $arr['score'] && $arr['score'] < '250000'){echo 'VIP6';}
                                  elseif('250000' <= $arr['score'] && $arr['score'] < '1000000'){echo 'VIP7';}
                                  elseif('1000000' <= $arr['score'] && $arr['score'] < '5000000'){echo 'VIP8';}
                                  elseif('5000000' <= $arr['score']){echo 'VIP9';}; ?>
                    </span></h1>
                    <i data-v-58c62fe6="">头衔：
                        <?php if($arr['score'] < '10'){echo '农民';}
                                  elseif('10' <= $arr['score'] && $arr['score'] < '200'){echo '地主';}
                                  elseif('200' <= $arr['score'] && $arr['score'] < '1000'){echo '知县';}
                                  elseif('1000' <= $arr['score'] && $arr['score'] < '10000'){echo '通判';}
                                  elseif('10000' <= $arr['score'] && $arr['score'] < '50000'){echo '知府';}
                                  elseif('50000' <= $arr['score'] && $arr['score'] < '250000'){echo '总督';}
                                  elseif('250000' <= $arr['score'] && $arr['score'] < '1000000'){echo '巡抚';}
                                  elseif('1000000' <= $arr['score'] && $arr['score'] < '5000000'){echo '丞相';}
                                  elseif('5000000' <= $arr['score']){echo '帝王';}; ?>
                    </i> <em data-v-58c62fe6="">成长值{$arr.score}分</em></div>
            </div>
            <p data-v-58c62fe6="" class="levelTips">距离下一级需要
                <?php if($arr['score'] < '10'){echo '10'-$arr['score'];}
                                  elseif('10' <= $arr['score'] && $arr['score'] < '200'){echo '200'-$arr['score'];}
                                  elseif('200' <= $arr['score'] && $arr['score'] < '1000'){echo '1000'-$arr['score'];}
                                  elseif('1000' <= $arr['score'] && $arr['score'] < '10000'){echo '10000'-$arr['score'];}
                                  elseif('10000' <= $arr['score'] && $arr['score'] < '50000'){echo '50000'-$arr['score'];}
                                  elseif('50000' <= $arr['score'] && $arr['score'] < '250000'){echo '250000'-$arr['score'];}
                                  elseif('250000' <= $arr['score'] && $arr['score'] < '1000000'){echo '1000000'-$arr['score'];}
                                  elseif('1000000' <= $arr['score'] && $arr['score'] < '5000000'){echo '5000000'-$arr['score'];}
                                  elseif('5000000' <= $arr['score']){echo '';}; ?>
                分 每充值1元加1分</p>

            <div data-v-58c62fe6="" class="levelBar fix">
                <div data-v-58c62fe6="" class="left">
                    <?php if($arr['score'] < '10'){echo 'VIP1';}
                                  elseif('10' <= $arr['score'] && $arr['score'] < '200'){echo 'VIP2';}
                                  elseif('200' <= $arr['score'] && $arr['score'] < '1000'){echo 'VIP3';}
                                  elseif('1000' <= $arr['score'] && $arr['score'] < '10000'){echo 'VIP4';}
                                  elseif('10000' <= $arr['score'] && $arr['score'] < '50000'){echo 'VIP5';}
                                  elseif('50000' <= $arr['score'] && $arr['score'] < '250000'){echo 'VIP6';}
                                  elseif('250000' <= $arr['score'] && $arr['score'] < '1000000'){echo 'VIP7';}
                                  elseif('1000000' <= $arr['score'] && $arr['score'] < '5000000'){echo 'VIP8';}
                                  elseif('5000000' <= $arr['score']){echo 'VIP9';}; ?>
                </div>
                <!--百分比-->
                <p data-v-58c62fe6="" class="u-progress">
                    <span data-v-58c62fe6="" id="progress" class="pgbar" style="width:{$baifenbi}%;"></span>
                </p>

                <div data-v-58c62fe6="" class="right">
                    <?php if($arr['score'] < '10'){echo 'VIP2';}
                                  elseif('10' <= $arr['score'] && $arr['score'] < '200'){echo 'VIP3';}
                                  elseif('200' <= $arr['score'] && $arr['score'] < '1000'){echo 'VIP4';}
                                  elseif('1000' <= $arr['score'] && $arr['score'] < '10000'){echo 'VIP5';}
                                  elseif('10000' <= $arr['score'] && $arr['score'] < '50000'){echo 'VIP6';}
                                  elseif('50000' <= $arr['score'] && $arr['score'] < '250000'){echo 'VIP7';}
                                  elseif('250000' <= $arr['score'] && $arr['score'] < '1000000'){echo 'VIP8';}
                                  elseif('1000000' <= $arr['score'] && $arr['score'] < '5000000'){echo 'VIP9';}
                                  elseif('5000000' <= $arr['score']){echo '';}; ?>
                </div>
                <p data-v-58c62fe6="" class="point"><?php echo sprintf('%.2f',$baifenbi); ?>%</p></div>
        </div>
        <div data-v-58c62fe6="" class="levelRule"><i data-v-58c62fe6="" class="iconfont"></i>
            等级机制
        </div>
        <table data-v-58c62fe6="" id="GradeList" width="100%">
            <tr data-v-58c62fe6="">
                <th data-v-58c62fe6="">等级</th>
                <th data-v-58c62fe6="">头衔</th>
                <th data-v-58c62fe6="">成长积分</th>
            </tr>
            <tr data-v-58c62fe6="">
                <td data-v-58c62fe6="">VIP1</td>
                <td data-v-58c62fe6="">农民</td>
                <td data-v-58c62fe6="">0</td>
            </tr>
            <tr data-v-58c62fe6="">
                <td data-v-58c62fe6="">VIP2</td>
                <td data-v-58c62fe6="">地主</td>
                <td data-v-58c62fe6="">10</td>
            </tr>
            <tr data-v-58c62fe6="">
                <td data-v-58c62fe6="">VIP3</td>
                <td data-v-58c62fe6="">知县</td>
                <td data-v-58c62fe6="">200</td>
            </tr>
            <tr data-v-58c62fe6="">
                <td data-v-58c62fe6="">VIP4</td>
                <td data-v-58c62fe6="">通判</td>
                <td data-v-58c62fe6="">1000</td>
            </tr>
            <tr data-v-58c62fe6="">
                <td data-v-58c62fe6="">VIP5</td>
                <td data-v-58c62fe6="">知府</td>
                <td data-v-58c62fe6="">10000</td>
            </tr>
            <tr data-v-58c62fe6="">
                <td data-v-58c62fe6="">VIP6</td>
                <td data-v-58c62fe6="">总督</td>
                <td data-v-58c62fe6="">50000</td>
            </tr>
            <tr data-v-58c62fe6="">
                <td data-v-58c62fe6="">VIP7</td>
                <td data-v-58c62fe6="">巡抚</td>
                <td data-v-58c62fe6="">250000</td>
            </tr>
            <tr data-v-58c62fe6="">
                <td data-v-58c62fe6="">VIP8</td>
                <td data-v-58c62fe6="">丞相</td>
                <td data-v-58c62fe6="">1000000</td>
            </tr>
            <tr data-v-58c62fe6="">
                <td data-v-58c62fe6="">VIP9</td>
                <td data-v-58c62fe6="">帝王</td>
                <td data-v-58c62fe6="">5000000</td>
            </tr>
        </table>
    </div>
</div>
</body>
</html>